package com.xd.core.company.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 电子转账记录
 * </p>
 *
 * @author ZX
 * @since 2025-03-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ElectronicTransferInfo对象", description="电子转账记录")
public class ElectronicTransferInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单编号")
    @TableId(value = "order_no")
    private String orderNo;

    @ApiModelProperty(value = "企业ID")
    private Integer companyId;

    @ApiModelProperty(value = "收款方机构编号")
    private String payeeWalletNo;

    @ApiModelProperty(value = "付款方机构编号")
    private String payerWalletNo;

    @ApiModelProperty(value = "交易时间")
    private String transTime;

    @ApiModelProperty(value = "订单总额(交易金额 单位分)")
    private Long amount;

    @ApiModelProperty(value = "商品描述信息")
    private String orderDesc;

    @ApiModelProperty(value = "交易类型（1-预存款账户到放款账户,2-放款账户到预存款账户）")
    private String type;

    @ApiModelProperty(value = "请求流水号")
    private String clientTransId;

    @ApiModelProperty(value = "订单状态（1-支付中，2-支付失败，3-支付成功）")
    private String status;

    @ApiModelProperty(value = "已消耗金额")
    private Long deductedAmount;

    @ApiModelProperty(value = "剩余金额")
    private Long remainingAmount;

    @ApiModelProperty(value = "备注")
    private String remark;

}
